package org.nlp2rdf.navigator.component;

import org.nlp2rdf.navigator.component.exception.ComponentInitException;

public interface IComponent {

	/**
	 * Allows to insert important information common to all components such as
	 * file paths
	 * 
	 * @param componentConfig
	 */
	public void setComponentConfig(IComponentConfig componentConfig);

	/**
	 * This method must be called before any other methos is executed. It
	 * initializes resource and adjusts file paths
	 * 
	 * @throws ComponentInitException
	 */
	public void init() throws ComponentInitException;

}
